package time.burrito.menus;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class SeleccionarNivel extends Activity{
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.seleccionar_nivel);
		
		((Button)findViewById(R.id.btnRegresarSeleccion)).setOnClickListener(new OnClickListener(){
        	
        	public void onClick(View v) {
        		finish();
        		Intent intencion= new Intent(SeleccionarNivel.this, MenuPrincipal.class);
        		startActivity(intencion);
        	}
        });
		
		((Button)findViewById(R.id.btnNivel1)).setOnClickListener(new OnClickListener(){
        	
        	public void onClick(View v) {
        		Intent intencion= new Intent(SeleccionarNivel.this, WrightHistoria.class);
        		startActivity(intencion);
        	}
        });
		
		((Button)findViewById(R.id.btnNivel3)).setOnClickListener(new OnClickListener(){
        	
        	public void onClick(View v) {
        		Intent intencion= new Intent(SeleccionarNivel.this, PantallaJuegoSegundoNivel.class);
        		startActivity(intencion);
        	}
        });
		
		((Button)findViewById(R.id.btnNivel2)).setOnClickListener(new OnClickListener(){
        	
        	public void onClick(View v) {
        		Intent intencion= new Intent(SeleccionarNivel.this, CharlesHistoria.class);
        		startActivity(intencion);
        	}
        });
	}

}